package eteam.aps.systeminterface.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;

public enum TestEnum2 implements IEnum<Integer> {
    A(0),
    B(1);

    @EnumValue
    @JsonValue
    private int val = 0;

    private TestEnum2(int value) {
        val = value;
    }

    @Override
    public Integer getValue() {
        return val;
    }
}
